package org.infosec.lc.exercises.springAspect.DeclareParents.impl;

import org.infosec.lc.exercises.springAspect.DeclareParents.Seller;
import org.springframework.stereotype.Component;

/**
	文件名：SellerImpl.java
	作  者：林超
	时  间：2011-4-15下午02:48:05

	功能描述：
	
	pom.xml	:
			
 */
@Component
public class SellerImpl implements Seller {

	public void sell(String goods,String clientName) {
		System.out.println(this.getClass().getSimpleName() + " : sell " + goods + " to " +clientName);
		showGoods(goods);
	}
	
	protected void showGoods(String goods){
		System.out.println(this.getClass().getSimpleName() + " : Goods = " + goods);
	}
	
}

